package com.ruoyi.pims.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 培养方案对象 edu_program
 * 
 * @author ruoyi
 * @date 2025-05-12
 */
public class EduProgram extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 方案ID */
    private Long programId;

    /** 专业ID */
    @Excel(name = "专业ID")
    private Long majorId;
    private  String majorCode;
    private  String majorName;

    /** 起始学年 */
    @Excel(name = "起始学年")
    private String startYear;

    /** 必修学分要求 */
    @Excel(name = "必修学分要求")
    private BigDecimal reqCredits;

    /** 选修学分要求 */
    @Excel(name = "选修学分要求")
    private BigDecimal elecCredits;

    public void setProgramId(Long programId) 
    {
        this.programId = programId;
    }

    public Long getProgramId() 
    {
        return programId;
    }

    public void setMajorId(Long majorId) 
    {
        this.majorId = majorId;
    }

    public Long getMajorId() 
    {
        return majorId;
    }

    public String getMajorCode() {
        return majorCode;
    }

    public void setMajorCode(String majorCode) {
        this.majorCode = majorCode;
    }

    public String getMajorName() {
        return majorName;
    }

    public void setMajorName(String majorName) {
        this.majorName = majorName;
    }

    public void setStartYear(String startYear)
    {
        this.startYear = startYear;
    }

    public String getStartYear() 
    {
        return startYear;
    }

    public void setReqCredits(BigDecimal reqCredits) 
    {
        this.reqCredits = reqCredits;
    }

    public BigDecimal getReqCredits() 
    {
        return reqCredits;
    }

    public void setElecCredits(BigDecimal elecCredits) 
    {
        this.elecCredits = elecCredits;
    }

    public BigDecimal getElecCredits() 
    {
        return elecCredits;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("programId", getProgramId())
            .append("majorId", getMajorId())
            .append("startYear", getStartYear())
            .append("reqCredits", getReqCredits())
            .append("elecCredits", getElecCredits())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
